import Vue from "vue";
import Router from "vue-router";
import Home from "../home/index.vue";
import "../../css/reset.scss";
Vue.use(Router);
import Money from "../money/index.vue";
import Ious from "../ious/index.vue";
import Raise from "../raise/index.vue";
import My from "../activity/my.vue";
import Activity from "../activity/activity.vue";

export default new Router({
  routes: [
    {
      path: "/",
      name: "Home",
      redirect: "/home",
      component: Home,
    },
    {
      path: "/home",
      name: "Home",
      component: Home,
    },
    {
      path: "/money",
      name: "Money",
      component: Money,
    },
    {
      path: "/ious",
      name: "Ious",
      component: Ious,
    },
    {
      path: "/raise",
      component: Raise,
    },
    {
      path: "/my",
      component: My,
    },
    {
      path: "/activity",
      component: Activity,
    },
  ],
});
